/**
 * Created by ÑÜÇç on 2015/7/5.
 */

module.exports = function (sequelize, DataTypes) {
    var subscriber = sequelize.define('subscriber', {
    id: {
        type: DataTypes.BIGINT,
            primaryKey: true,
            autoIncrement: true
    },
    email: {
        type: DataTypes.STRING
    },
    status :{
        type:DataTypes.INTEGER
    }
}, {
    freezeTableName: true, // Model tableName will be the same as the model name
    timestamps:false
});
return subscriber;
};
